package edu.buffalo.cse.cse486_586.simpledht.config;

public class Configuration {
	private int sytemStatus;
	private Node node;
	private static Configuration config = null;

	protected Configuration() {
		this.node = new Node();
	}

	public static Configuration getInstance() {
		if (config == null) {
			config = new Configuration();
		}
		return config;
	}

	// getters and setters
	public Node getNode() {
		return node;
	}

	public void setNode(Node node) {
		this.node = node;
	}

	public int getSytemStatus() {
		return sytemStatus;
	}

	public void setSytemStatus(int sytemStatus) {
		this.sytemStatus = sytemStatus;
	}
}
